package com.freak.kotlinfitnessserver.data

class SportStatusData {
    companion object {
        // 空闲状态
        const val SPORT_IDLE: Int = 0

        // 运动中 启动运动或者恢复运动状态
        const val SPORT_SPORTING: Int = 1

        // 暂停运动状态
        const val SPORT_PAUSE: Int = 2

        // 停止运动状态
        const val SPORT_STOP: Int = 3
    }

    var mSportStatus: Int = SPORT_IDLE

    var mUnlockCode: String = ""

    var mHeartRate: Int = 0

    var mTotalEnergy: Int = 0

    var mDynamicEnergy: Int = 0

    var mStepCount: Int = 0

    var mSuppressAutoPause: Int = 0

    var mTargetedExpendedEnergy: Int = 0

    // 是否允许控制
    var mIsAllowControl: Boolean = false

    var mTargetedSpeed: Int = 0

    var mTargetedInclination: Int = 0

    var mTargetedResistanceLevel: Int = 0

    var mTargetedPower: Int = 0

    var mTargetedCadence: Int = 0

    var mTargetedDistance: Int = 0

    var mTargetedTrainingTime: Int = 0
}
